<?php

/**
 * shop actions.
 *
 * @package    sftest
 * @subpackage shop
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
 */
class shopActions extends sfActions
{
  /**
   * Executes index action
   *
   */
  public function executeIndex()
  {
      $c = new Criteria();
      $this->shops = ShopPeer::doSelect($c);
      foreach($this->shops as $shop)
      {
          $shop->setName('xxx');
          $shop->save();
      }
      //var_dump($shops);
    //$this->forward('default', 'module');
      //echo "hello,shop";
  }
}
